package com.seagull.core.test.desing.single;

/**
 * @author:jian.zhou
 * @DATE: 2017/12/20.
 * @Version:0.0.1
 * @Desc:静态内部类方式
 */
public class C {

    private C (){}

    private static class SingleHelper{
        private static  C c = new C() ;
    }

    public static C getC(){
        return SingleHelper.c;
    }
}
